{% extends "base.html" %}
{% block content %}
<div class="row">
    <div class="col-sm-12 col-md-3"></div>
    <div class="col-sm-12 col-md-6">
        <div class="panel panel-primary">
        <div class="panel-heading">
		<h3 class="panel-title">查找有缘人</h3>
	</div>
	<div class="panel-body">
		<table class="table table-hover table-bordered text-center">
		    <tr>
		        <td>你的选择</td>
		        {% for item1 in list1 %}
		        <td>{{ item1 }}</td>
		        {% endfor %}
		    </tr>
		    <tr>
		        <td colspan="6">有缘人</td>
		    </tr>
		    {% for item2 in list2 %}
		    <tr>
		        <td>{{ item2.0 }}</td>
		        {% for item3 in item2.1 %}
		        <td>{{ item3 }}</td>
		        {% endfor %}
		    </tr>
		    {% endfor %}
		</table>
	</div>
    </div>
    <div class="col-sm-12 col-md-3"></div>
</div>
{% endblock %}
